from odoo.exceptions import UserError
from odoo import api, models
from .base_models import RPBaseModelForAddress as Address



class RPDataModelForShip(object):
    """
    数据模型  -  Ship
    该模型用于订单（运输订单）

    - id: odoo索引(rp.ship.order)
    - code: 订单编号

    - customer_id: 客户ID(rp.customer)
    - send_address: 发件地址(RPBaseModelForAddress Address)
    - receive_address: 收件地址(RPBaseModelForAddress Address)
    -





    - international_flag: 国际件boolean
    """